const path=require('path')
const fs=require('fs')
const dbpath=path.join(__dirname,'../','pull','db','user.json')

const getser=async(params)=>{
 const res=JSON.parse(fs.readFileSync(dbpath,'utf-8'))
 return res
} 

module.exports={
    getser
}